<%@include file="taglib_includes.jsp" %>
<html>
<head>
<title><spring:message code="Add.AddFaculty.Title"></spring:message></title>
</head>
<body>
<table  bgcolor="white" width="750" height="500" align="center" style="border-collapse: collapse;" border="1" bordercolor="#006699" >
	<tr>
		<td align="center" style="background-color: lightblue"><h3>Add Faculty</h3></td>
	</tr>
	<tr>
		<td align="left" style="background-color: lightblue"><h4>Login Information</h4></td>
	</tr>
	
	<tr valign="middle" align="center">
	<td align="center" valign="middle">
 		<form:form action="addFaculty" method="post" commandName="login_details">
 			<table width="650" height="350" style="border-collapse: collapse;" border="0" bordercolor="#006699" cellspacing="2" cellpadding="2">
 				<tr>
						<td width="100" align="right">User Name*</td>
						<td width="150">
						<form:input path="userName"/></td>
						<td align="left">
						<form:errors path="userName" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="135" align="right">Default Password*</td>
						<td width="150">
						<form:password path="password"/></td>
						<td align="left">
						<form:errors path="password" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Status*</td>
						<td width="150">
						<form:select path="enabled">
						<form:option value="Y" label="Enabled"/>
						<form:option value="N" label="Disabled"/>
						</form:select>
						</td>
						<td align="left">
						<form:errors path="enabled" cssStyle="color:red"></form:errors> 
						</td>
					</tr>			
					
					<tr>
						<td colspan="3" align="center">
						<input type="submit" name="" value="Next">
						&nbsp;&nbsp;
						<input type="reset" name="" value="Reset">
						
						</td>
						
					</tr>	
						
 			</table>
 			<tr align="center">
						<td width="100" align="center"><B>
						${savedMsg}
						</B>
						</td>
						</tr>	
 		</form:form>
 		</td>
 		</tr>
</table>
</body>
</html>